package com.xxf.myrongim.main

import com.blankj.utilcode.util.LogUtils
import com.xxf.basemvp.weakbase.weak.WeakActivity
import com.xxf.myrongim.R

class MainActivity : WeakActivity<MainContract.ViewImpl, MainPresenter>() {

    override fun createPresenter(): MainPresenter {
        return MainPresenter(mView);
    }

    override fun getLayoutResId(): Int {
        return R.layout.activity_main
    }

    //初始化View
    override fun initView() {
        LogUtils.d("initView")
    }

    //View的接口回调
    var mView: MainContract.ViewImpl = object : MainContract.ViewImpl {

    }

}
